<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- defer 在DOM解析之后执行 -->
</head>

<body>
    <h1>Hello Webpack</h1>
    <div class="box1"></div>
    <div class="box2"></div>
    <div class="box3"></div>
    <span class="iconfont icon-food"></span>
    <span class="iconfont icon-up"></span>
    <span class="iconfont icon-down"></span>
    <button id="btn">计算</button>
    <!-- <script src="../dist/js/main.js">
        //报错,因为浏览器不支持es6模块化
    </script> -->
</body>

</html>